x86_emulate: Allow writeback-avoidance optimisation to be defeated by
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 21 Feb 2008 14:50:27 +0000 (14:50 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 21 Feb 2008 14:50:27 +0000 (14:50 +0000)
commit2bd0e7b9652a975f6dc89faf4eba904cf27f4d3b
treec3b9214647c19576097af59d2c02bd77a0d76ad7
parent219c37ca95a548a36434f382e5c47f15f93954f4
x86_emulate: Allow writeback-avoidance optimisation to be defeated by
the caller. This is used in cases where the writeback may be to an
MMIO region with side effects (the APIC EOI register is the main
example of this).

Also fix up build of the x86_emulate user-space test harness.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/tests/test_x86_emulator.c
xen/arch/x86/hvm/emulate.c
xen/arch/x86/mm.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/x86_emulate.c
xen/include/asm-x86/x86_emulate.h